﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMSSyncData.Model
{
    /// <summary>
    /// 销售订单实际出库中间表
    /// </summary>
    [Table(TableName = "ttddev112101")]
    public class tddev112
    {
        /// <summary>
        /// 销售订单号
        /// </summary>
        public string orno { get; set; }
        public string wmso { get; set; }
        public string wrhs { get; set; }
        /// <summary>
        /// 销售订单行号
        /// </summary>
        public string pono { get; set; }
        /// <summary>
        /// 序号
        /// </summary>
        public int seqn { get; set; }
        /// <summary>
        /// 物料代码
        /// </summary>
        public string item { get; set; }
        /// <summary>
        /// 批次
        /// </summary>
        public string clot { get; set; }
        /// <summary>
        /// 发货数量
        /// </summary>
        public double qoro { get; set; }
        /// <summary>
        /// 中间表状态
        /// </summary>
        public int host { get; set; }
        /// <summary>
        /// ERP处理信息
        /// </summary>
        public string mess { get; set; }
        /// <summary>
        /// WMS写入日期
        /// </summary>
        public DateTime? edte1 { get; set; }
        /// <summary>
        /// ERP读取日期
        /// </summary>
        public DateTime? wdte1 { get; set; }
        /// <summary>
        /// ERP处理日期
        /// </summary>
        public DateTime? wdte2 { get; set; }

        public int refcntd { get; set; }

        public int refcntu { get; set; }
        /// <summary>
        /// 1销售退货，2标识正常
        /// </summary>
        public string reto { get; set; }
    }
}
